
package com.shycloud.mido.member.api.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 会员活跃赠送机制
 *
 * @author lxy
 * @date 2019-05-21
 */
@Data
@TableName("sm_active_mechanism")
@EqualsAndHashCode(callSuper = true)
public class ActiveMechanism extends Model<ActiveMechanism> {
	private static final long serialVersionUID = 1L;

	/**
	 * id
	 */
	@TableId
	private Integer id;
	/**
	 * 会员活跃策略code
	 */
	private String code;
	/**
	 * 赠送积分
	 */
	private Integer points;
	/**
	 * 赠送高级会员天数
	 */
	private Integer days;
	/**
	 * 连续签到天数
	 */
	private Integer contDays;
	/**
	 * 状态 0-关闭 1-开启
	 */
	private String status;
	/**
	 * 每天最高可获积分
	 */
	private Integer dailyPoints;
	/**
	 * 备注
	 */
	private String remark;
}

